﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Borton.Beans
{
    class Rab : Bean
    {

        public Rab()
        {
            tableName = "Rab";
            fields = new Field[] {
                new Field("id", FieldType.NUMBER),
                new Identifier("szemely_id", typeof(Szemely)),
                new Identifier("cella_id", typeof(Cella))
            };
            referringBeans = new Bean[] {
                new Ujjlenyomat(),
                new MultiIdentifier_("rab_id", "bunteny_id", typeof(RabBunteny))
            };
        }

        public override object Clone()
        {
            return new Rab();
        }
    }
}
